import React from 'react'

interface Props {
    item: {
        icon?: string
        name: string
        path: string
    }
}

const ProgramItem: React.FC<Props> = ({ item }) => {
    return (
        <div>
            <img src={ item.icon } />
            <span>{ item.name }</span>
        </div>
    )
}

export default ProgramItem